<?php

// $Id$


class TCMS_Sitemap_Entry extends Tangra_Class {
	private $id;
	private $path;
	private $weight = 5;
	private $change_freq = 4;

	public function set_id($id) {
		tangra_if_not_int_throw_e($id);

		$this->id = $id;
	}


	public function get_id() {
		return $this->id;
	}


	public function set_weight($weight) {
		tangra_if_not_int_throw_e($weight);

		$this->weight = $weight;
	}


	public function get_weight() {
		return $this->weight;
	}


	public function set_change_freq($change_freq) {
		tangra_if_not_int_throw_e($change_freq);

		$this->change_freq = $change_freq;
	}


	public function get_change_freq() {
		return $this->change_freq;
	}


	public function set_path($path) {
		$this->path = $path;
	}


	public function get_path() {
		return $this->path;
	}
}